﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Directora.Master" AutoEventWireup="true" CodeBehind="AñadirActividadExistente.aspx.cs" Inherits="Interfaces.CronogramaDeActividades.AñadirActividadExistente" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
    .style1
    {
        width: 100%;
    }
        .style4
        {
            width: 282px;
            height: 48px;
        }
        .style5
        {
            height: 48px;
            text-align: left;
        }
        .style6
        {
            width: 282px;
            height: 114px;
        }
        .style7
        {
            height: 114px;
        }
        .style8
        {
            font-size: large;
            color: #0033CC;
        }
        .style10
        {
            width: 282px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
</asp:ScriptManagerProxy>
    <asp:MultiView ID="MultiView1" runat="server">
        <asp:View ID="View1" runat="server">
            <asp:Panel ID="Panel1" runat="server" GroupingText="Añadir Actividad Existente" 
                style="text-align: left">
             <asp:UpdatePanel ID="UpdatePanel1" runat="server">
             <ContentTemplate>
               <table class="style1">
                    <tr>
                        <td class="style10">
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style10">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Nombre de la Actividad:&nbsp;&nbsp;</td>
                        <td style="text-align: left">
                            <asp:DropDownList ID="DropDownList1" runat="server" AppendDataBoundItems="True" 
                                AutoPostBack="True" onselectedindexchanged="DropDownList1_SelectedIndexChanged" 
                                ontextchanged="DropDownList1_TextChanged" Width="137px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style4">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fecha De la Actividad:&nbsp;&nbsp;</td>
                        <td class="style5">
                            <asp:TextBox ID="TextBox2" runat="server" Enabled="False" 
                                style="text-align: left"></asp:TextBox>
                            <ajaxToolkit:CalendarExtender ID="TextBox2_CalendarExtender" runat="server" 
                                Format="yyyy-MM-dd" PopupButtonID="ImageButton1" TargetControlID="TextBox2">
                            </ajaxToolkit:CalendarExtender>
                            <asp:ImageButton ID="ImageButton1" runat="server" 
                                ImageUrl="~/Images/calendar.jpg" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style6">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;Descripcion:&nbsp;</td>
                        <td class="style7" style="text-align: left">
                            <asp:TextBox ID="TextBox1" runat="server" Height="92px" 
                                style="text-align: left" TextMode="MultiLine" Width="449px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style10">
                            &nbsp;</td>
                        <td style="text-align: left">
                            <asp:Label ID="Label2" runat="server" ForeColor="Red"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="style10">
                            &nbsp;</td>
                        <td style="text-align: left">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
                                OnClientClick="return confirm('Esta segura de guardar esta actividad?');" 
                                Text="Añadir" Width="64px" CssClass=JCIstyle />
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Button ID="Button2" runat="server" onclick="Button2_Click" 
                                Text="Cancelar" CssClass=JCIstyle />
                        </td>
                    </tr>
                </table> 
                </ContentTemplate>     
            </asp:UpdatePanel>
            </asp:Panel>
           
                 
        </asp:View>
        <asp:View ID="View2" runat="server">
            <asp:Panel ID="Panel2" runat="server">

                <span class="style8">Error<br /> El Ci es nulo o no esta registrado como miembro
                </span>

            </asp:Panel>
        </asp:View>
    </asp:MultiView>
</asp:Content>
